package com.taylor.study.mapper;

import com.taylor.study.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @description: mapper 接口
 * @author: Taylor
 * @date :  2021-03-25 16:21
 **/
public interface UserMapper {

    User selectUserById(@Param("id") int id);

    List<User> selectUser(Map map);

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(User user);
}
